<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>无标题文档</title>
    <script type="application/javascript" src="/js/jquery.js"></script>
    <script src="/bootstrap/js/bootstrap.js" type="text/javascript"></script>
    <script src="/layui/layui.js" type="text/javascript"></script>
    <script src="https://cdn.jsdelivr.net/npm/wangeditor@latest/dist/wangEditor.min.js" type="text/javascript"></script>
    <script src="/js/custom/pushBulletin.js"></script>
    <link href="/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css"/>
    <link href="/layui/css/layui.css" rel="stylesheet" type="text/css"/>
    <link href="/css/style.css" rel="stylesheet" type="text/css"/>
</head>

<body>
<div class="place">
    <span>位置：</span>
    <ul class="placeul">
        <li><a href="/index">首页</a></li>
        <li><a href="#">宿舍管理</a></li>
        <li><a href="/pushBulletin">发布公告</a></li>
    </ul>
</div>

<div class="formbody">

    <div class="formtitle"><span>发布公告</span></div>

    <div class="form-group">
        <label for="bulletinTitle">配图</label>
        <div style="margin-left: 100px">
            <img data-anim="layui-anim-scaleSpring" class="layui-upload layui-anim" id="id_upload_img"
                 src="/images/upload.png"
                 style="width:100px;height:100px;border-radius: 10%;">
        </div>
    </div>

    <div class="form-group">
        <label for="bulletinTitle">标题</label>
        <input type="hidden" id="bulletinImgPath"/>
        <input type="text" class="form-control" id="bulletinTitle" placeholder="请填写标题..."/>
    </div>

    <div class="form-group">
        <label>内容</label>
        <div id="bulletinContent">
            <p>请填写 <b>公告</b> 内容....</p>
        </div>
    </div>

    <div class="text-right">
        <div class="pushbtn">
            <button type="button" class="btn btn-default" onclick="pushBulletin()">确认发布</button>
        </div>
    </div>
</div>
</body>
</html>
